package com.region.http.client.protector;

import com.region.http.client.request.ActuatorRequest;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

/**
 * @author 26225
 * @date 2024/9/1 22:53
 * @description
 */
public class ActuatorRequestProtector implements ActuatorRequest {
    @Override
    public Map<String, Object> getHealth() {
        return new HashMap<String, Object>() {
            {
                put("as", "asas");
            }
        };
    }

    @Override
    public Map<String, Object> getHealth(String name, String value) {
        return new HashMap<String, Object>() {
            {
                put("name", name);
                put("value", value);
            }
        };
    }
}
